<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/tld/struts-bean" prefix="bean"%> 
<%@ taglib uri="/WEB-INF/tld/struts-html" prefix="html"%>
<%@ taglib uri="/WEB-INF/tld/struts-logic" prefix="logic" %>
<%@ taglib uri="/WEB-INF/tld/jstl/c" prefix="c" %>
<%@ taglib uri="/WEB-INF/tld/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="/WEB-INF/tld/jstl/fn" prefix="fn" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html:html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="ebb365,ebb365,ebb365">
<meta http-equiv="description" content="ebb365">
<title>Insert title here</title>
<link rel="stylesheet" type="text/css" href="/admin/css/css.css">
<script type="text/javascript">
function checkForm(){
  if(document.forms[0].startNodes.value==-1){
     alert('迁移结点必须选择');
     return false;
  }else{
     return true;
  }
  return true;
}
</script>
</head>
<body>
<logic:present name="moveOk">
<font color=green style="font-size: 16px;font-weight: bold"><bean:write name="moveOk"/></font>
</logic:present>
<table width="95%" border="1" align="center">
<tr><td align="center"><b>分类透视图</b></td><td align="center"><b>操作</b></td></tr>
<tr><td>
<logic:present name="optionStr2">
<bean:write name="optionStr2" filter="false"/>
</logic:present>
</td><td valign="top">
<html:form action="/admin/BinTreeManageAction.do?method=doMoveBranch" onsubmit="return checkForm();">
迁移结点：<html:select property="startNodes" size="1">
<html:option value="-1">请选择要迁移的结点</html:option>
<logic:present name="optionStr">
<bean:write name="optionStr" filter="false"/>
</logic:present>
</html:select><br>
目标结点：<html:select property="targetNodes" size="1">
<html:option value="-1">默认根结点</html:option>
<logic:present name="optionStr">
<bean:write name="optionStr" filter="false"/>
</logic:present>
</html:select><br>
<html:submit>确定迁移结点</html:submit>
</html:form>
</td></tr></table>
</body>
</html:html>